package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * pay
 * @author 
 */
@Data
public class Pay implements Serializable {
    private Integer id;

    private Integer ownerid;

    private Integer itemid;

    private Double paymoney;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String paytime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createtime;

    private Integer paystate;

    private String notes;

    private Item item;

    private Owners owners;

    private static final long serialVersionUID = 1L;
}